home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
ab20
/
unarced
/
utilities
/
shells
/
sksh
/
scr_source
/
histsave.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
547b
|
19 lines
#!c:sksh
#*************************************************************************
# Small history save function
#*************************************************************************
if [ "$1" = '-?' -o "$#" -gt 1 ]
then
echo 'Usage:' $(basename $0) '[ <f> ]'
echo ' (saves history list in s:SKsh_Hist.<f>,' \
'default <f> = $CLINUM)'
return 1
fi
[ "$SIZE" = 'normal' ] ||
echo "This command does not operate with Tiny_SKsh." && return 2
history > "s:SKsh_Hist.${1:-$CLINUM}"